/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tk.eigh.ksvg.renderer;

import java.io.IOException;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils;
import tk.eigh.ksvg.SVG;

/**
 *
 * @author nt
 */
public abstract class SVGStructureRenderer extends SVGRenderer {

    @Override
    public void renderCommonAttributes(ResponseWriter writer, UIComponent component, FacesContext context) throws IOException {
        super.renderCommonAttributes(writer, component, context);
        HtmlRendererUtils.renderHTMLAttributes(writer, component, SVG.CONTAINER_COMMON_ATTRIBUTES);
    }
    
}
